#ifndef SETDIALOG_H
#define SETDIALOG_H

#include <QDialog>

namespace Ui {
class SetDialog;
}

class SetDialog : public QDialog
{
    Q_OBJECT

public:
    explicit SetDialog(QWidget *parent = nullptr,QString cfgString="",QString weightString="",QString nameString="",double confidence=0.5);
    ~SetDialog();
signals:
    void changeCfg(QString);
    void changeWeight(QString);
    void changeName(QString);
    void changeConfidence(double);
    void ensure();

private slots:
    void on_namesButton_clicked();

    void on_cfgButton_clicked();

    void on_weightsButton_clicked();

private:
    Ui::SetDialog *ui;
};

#endif // SETDIALOG_H
